package com.shensi.adminCollect.domain.coupon;


import com.shensi.adminCollect.common.annotation.Excel;
import com.shensi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class AppUserInfo extends BaseEntity
{

    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer userId;

    /** 手机号码 */
    @Excel(name = "注册手机号")
    private String mobilePhone;

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public Integer getUserId() {
        return userId;
    }


    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getBlogNickName() {
        return blogNickName;
    }

    public void setBlogNickName(String blogNickName) {
        this.blogNickName = blogNickName;
    }

    /** 注册昵称 */
    @Excel(name = "注册昵称")
    private String blogNickName;


    /**
     * 字段名字错误，数据库里真正存的是油企id
     */
    @Deprecated
    private Integer stationId;

    /**
     * 油企id
     */
    private Integer enterpriseId;
    public Integer getStationId() {
        return stationId;
    }

    public void setStationId(Integer stationId) {
        this.stationId = stationId;
    }

    public Integer getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Integer enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("mobilePhone", getMobilePhone())
                .append("blogNickName", getBlogNickName())
                .append("enterpriseId", getEnterpriseId())
                .toString();
    }

}
